package com.preskool.service;

import com.preskool.dto.ExamVo;
import com.preskool.po.Exam;

import java.util.List;

/**
 * TODO
 *
 * @author ZhaoBo
 * @description: 考试清单
 * @date 2021/1/7  14:18
 */
public interface ExamService {

    /**
     * 查询全部考试清单
     * @return
     */
    List<ExamVo> findExams(Integer offset,Integer limit,Object orderByClause);

    /**
     * 添加
     * @param exam
     * @return
     */
    int insertExam(Exam exam);

    /**
     * 删除一条考试清单
     * @param examid
     * @return
     */
    int delExam(Integer examid);


    /**
     * 修改一条考试清单
     * @param exam
     * @return
     */
    int updateExam(Exam exam);
}
